package com.cuikaipeng.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Company {
	private Integer xh;
	private Integer gsdm;
	private String gsname;
	private String bh;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startdate;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date enddate;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date datesc;
	private String datesc2;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startdate1;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startdate12;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date enddate1;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date enddate12;
	
	
	public Date getEnddate1() {
		return enddate1;
	}
	public void setEnddate1(Date enddate1) {
		this.enddate1 = enddate1;
	}
	public Date getEnddate12() {
		return enddate12;
	}
	public void setEnddate12(Date enddate12) {
		this.enddate12 = enddate12;
	}
	public Date getStartdate1() {
		return startdate1;
	}
	public void setStartdate1(Date startdate1) {
		this.startdate1 = startdate1;
	}
	public Date getStartdate12() {
		return startdate12;
	}
	public void setStartdate12(Date startdate12) {
		this.startdate12 = startdate12;
	}
	public Integer getXh() {
		return xh;
	}
	public void setXh(Integer xh) {
		this.xh = xh;
	}
	public Integer getGsdm() {
		return gsdm;
	}
	public void setGsdm(Integer gsdm) {
		this.gsdm = gsdm;
	}
	public String getGsname() {
		return gsname;
	}
	public void setGsname(String gsname) {
		this.gsname = gsname;
	}
	public String getBh() {
		return bh;
	}
	public void setBh(String bh) {
		this.bh = bh;
	}
	public Date getStartdate() {
		return startdate;
	}
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}
	public Date getEnddate() {
		return enddate;
	}
	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}
	public Date getDatesc() {
		return datesc;
	}
	public void setDatesc(Date datesc) {
		this.datesc = datesc;
	}
	public String getDatesc2() {
		return datesc2;
	}
	public void setDatesc2(String datesc2) {
		this.datesc2 = datesc2;
	}
	public Company(Integer xh, Integer gsdm, String gsname, String bh,
			Date startdate, Date enddate, Date datesc, String datesc2) {
		super();
		this.xh = xh;
		this.gsdm = gsdm;
		this.gsname = gsname;
		this.bh = bh;
		this.startdate = startdate;
		this.enddate = enddate;
		this.datesc = datesc;
		this.datesc2 = datesc2;
	}
	public Company() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Company [xh=" + xh + ", gsdm=" + gsdm + ", gsname=" + gsname
				+ ", bh=" + bh + ", startdate=" + startdate + ", enddate="
				+ enddate + ", datesc=" + datesc + ", datesc2=" + datesc2 + "]";
	}

}
